package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.presenter.PasswordPresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.11 0011
 */
public interface PasswordContract {

    interface Model {

        void updatePassword(PasswordPresenter presenter, String loginName, String oldPassword, String newPassword);
    }

    interface View extends BaseContract.view {

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void updatePassword(String loginName, String oldPassword, String newPassword);

        void onSuccess(BaseBean baseBean);
    }
}